KERNEL_DIR      := /usr/src/linux
INSTALL_MOD_DIR	:= drivers/acpi
PWD		:= $(shell pwd)

obj-m		:= asus_acpi.o

all: asus_acpi

asus_acpi:
	@echo "Building ASUS ACPI driver..."
	cd $(KERNEL_DIR) && make -C $(KERNEL_DIR) SUBDIRS=$(PWD) modules

clean:
	-rm -f *.o *.ko .*.cmd .*.flags *.mod.c Module.symvers
	-rm -rf .tmp_versions

